# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=py3-ipython_genutils
pkgver=0.2.0
pkgrel=2
pkgdesc="Vestigial IPython utilities"
url="https://github.com/ipython/ipython_genutils"
arch="noarch"
license="BSD-3-Clause"
makedepends="python3-dev"
options="!check" # No test suite
source="$pkgname-$pkgver.tar.gz::https://github.com/ipython/ipython_genutils/archive/$pkgver.tar.gz"
builddir="$srcdir/${pkgname#py3-}-$pkgver"
replaces="py-ipython_genutils"
provides="py-ipython_genutils"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="b238fce8ba437328b9cd78871cd8a8ab562c513d33db95be74296233114a39eb8a3b3c64fbfb149bc3d42d3eb7762defc03befb9862d6aefbaad389d2838f854  py3-ipython_genutils-0.2.0.tar.gz"
